package net.caidingke.shepherd.utils.lib.event;

import com.google.common.eventbus.EventBus;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;

/**
 * @author bowen
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public final class EventBusInstance {

    private static final EventBus INSTANCE = new EventBus();

    /**
     * get even bus instance
     *
     * @return even bus instance
     */
    public static EventBus getInstance() {
        return INSTANCE;
    }
}
